package com.ssm.forum.dao.model.user;


import com.jee.ssm.common.core.base.BaseModel;
import com.ssm.icc.dao.model.estate.Estate;

import java.io.File;
import java.util.Date;

/**
 *
 * 表名 d_user
 * @author GaoXiang
 * @version 1.0
 * Create time 2017/04/21
 */
public class User extends BaseModel {
    /**
     *
     * 表字段 : d_user.id
     * Create time 2017/04/21
     */
    private String id;


    /**
     * 姓名
     * 表字段 : d_user.name
     * Create time 2017/04/21
     */
    private String name;

    /**
     * 余额
     * 表字段 : d_user.balance
     * Create time 2017/04/21
     */
    private Long balance;

    /**
     * 性别
     * 表字段 : d_user.sex
     * Create time 2017/04/21
     */
    private String sex;

    /**
     * 年龄
     * 表字段 : d_user.age
     * Create time 2017/04/21
     */
    private Integer age;

    /**
     * 手机号
     * 表字段 : d_user.phone
     * Create time 2017/04/21
     */
    private String phone;

    /**
     * 身份证号
     * 表字段 : d_user.id_card_num
     * Create time 2017/04/21
     */
    private String idCardNum;

    /**
     * 头像
     * 表字段 : d_user.photo
     * Create time 2017/04/21
     */
    private String head;
    /**
     * 头像
     * 表字段 : d_user.id_card_photo
     * Create time 2017/04/21
     */
    private String idCardPhoto;


    private Estate estate;

    private File file;

    private String sensitiveInfo;

    public String getSensitiveInfo() {
        return sensitiveInfo;
    }

    public void setSensitiveInfo(String sensitiveInfo) {
        this.sensitiveInfo = sensitiveInfo;
    }

    private String accountId;

    private String roomName;

    private String UnitName;

    private String buildingName;
    /**
     * 特殊人群
     * 1：涉恐人员，2：涉稳人员，3：重大刑事犯罪前科人员，
     * 4：在逃人员，5：肇事肇祸精神病人6：重点上访人员
     */
    private String sensitiveStatus;

    //socket 连接信息
    private String online;
    private String version;
    private Date lastDate;

    /**
     * 构造方法
     */
    public User(String id, String name, Long balance, String sex, Integer age, String phone, String idCardNum, String head, String idCardPhoto) {
        this.id = id;
        this.name = name;
        this.balance = balance;
        this.sex = sex;
        this.age = age;
        this.phone = phone;
        this.idCardNum = idCardNum;
        this.head = head;
        this.idCardPhoto = idCardPhoto;
    }

    /**
     * 构造方法
     */
    public User() {
        super();
    }

    /**
     *
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     *
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }


    /**
     * 姓名
     * @return name 姓名
     */
    public String getName() {
        return name;
    }

    /**
     * 姓名
     * @param name 姓名
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 余额
     * @return balance 余额
     */
    public Long getBalance() {
        return balance;
    }

    /**
     * 余额
     * @param balance 余额
     */
    public void setBalance(Long balance) {
        this.balance = balance;
    }

    /**
     * 性别
     * @return sex 性别
     */
    public String getSex() {
        return sex;
    }

    /**
     * 性别
     * @param sex 性别
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * 年龄
     * @return age 年龄
     */
    public Integer getAge() {
        return age;
    }

    /**
     * 年龄
     * @param age 年龄
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * 手机号
     * @return phone 手机号
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 手机号
     * @param phone 手机号
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }



    public Estate getEstate() {
        return estate;
    }

    public void setEstate(Estate estate) {
        this.estate = estate;
    }


    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getIdCardNum() {
        return idCardNum;
    }

    public void setIdCardNum(String idCardNum) {
        this.idCardNum = idCardNum;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getIdCardPhoto() {
        return idCardPhoto;
    }

    public void setIdCardPhoto(String idCardPhoto) {
        this.idCardPhoto = idCardPhoto;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getUnitName() {
        return UnitName;
    }

    public void setUnitName(String unitName) {
        UnitName = unitName;
    }

    public String getSensitiveStatus() {
        return sensitiveStatus;
    }

    public void setSensitiveStatus(String sensitiveStatus) {
        this.sensitiveStatus = sensitiveStatus;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getOnline() {
        return online;
    }

    public void setOnline(String online) {
        this.online = online;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }
}